capture.exe: capture.o res.o
	tcc capture.o res.o -o capture.exe

capture.o: capture.c resource.h
	tcc -c capture.c 

res.o: capture.rc resource.h
	windres capture.rc -O coff res.o

clean:
	rm capture.exe *.o
